<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" type="text/css" href="/templates/style/style.css" />
<title>${webpage['title']} - ${webpage['now']}</title>
</head>

<body>
	<div class="total">
		<div class="header">
			<div class="logo">
				<h1>${webpage['title']}</h1>
				<h4>${webpage['subtitle']}</h4>	
	
			</div>
		</div>
		<div class="belowheader">
			<div class="banner">
				<ul class="bannermenu">
					%for banner in banners[:-1]:
						%if banner['name']==webpage['now']:
							<li class="now"><a href="${banner['url']}">${banner['name']}</a></li>
							<li>| </li>
						%else:
							<li><a href="${banner['url']}">${banner['name']}</a></li>
							<li>| </li>
						%endif	
					%endfor
					%if banners[-1]['name']==webpage['now']:
						<li class="now"><a href="${banner['url']}">${banners[-1]['name']}</a></li>
					%else:
						<li><a href="${banners[-1]['url']}">${banners[-1]['name']}</a></li>
					%endif
				</ul>
			</div>
			<div class="login"> 
				<ul class="loginmenu"> 
					<li><a href="/admincp">站点管理</a></li> 
					
				</ul> 
			
			</div> 
		</div>